New Class. Beginning of progrssive loading.
authorJonathan Blandford <jrb@redhat.com>
Tue, 26 Oct 1999 16:26:00 +0000 (16:26 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Tue, 26 Oct 1999 16:26:00 +0000 (16:26 +0000)
1999-10-26  Jonathan Blandford  <jrb@redhat.com>

* src/gdk-pixbuf-loader.h: New Class.  Beginning of progrssive
loading.

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-loader.h
gdk-pixbuf/io-png.c
gtk/gdk-pixbuf-loader.h

index d6eef083cb91bfa9b7af25d790abe9d9aafa3abf..f83c61cc2d6a8ac2208396c9db678a8789372144 100644 (file)
@@ -1,3 +1,8 @@
+1999-10-26  Jonathan Blandford  <jrb@redhat.com>
+
+       * src/gdk-pixbuf-loader.h: New Class.  Beginning of progrssive
+       loading.
+
 1999-10-25  Federico Mena Quintero  <federico@redhat.com>
 
        * configure.in (CFLAGS): Patch from Uwe Koloska
index 81ba0f58b79a6330e611e64f2539918e23acfb81..90b481fda90a5c8503536ffca307f1f90a9cef5e 100644 (file)
@@ -56,11 +56,12 @@ struct _GdkPixbufLoader
 typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
 struct _GdkPixbufLoaderClass {
        GtkObjectClass parent_class;
-#if 0
-       /* If it get's implemented */
+
        void (* area_updated) (GdkPixbufLoader *loader,
                               int x, int y, int width, int height);
-#endif
+       void (* area_prepared) (GdkPixbufLoader *loader,
+                               GdkPixbuf *image,
+                               int x, int y, int width, int height);
 };
 
 \f
index 5b07a4feed39b86cf79930b598fccab06f4b9769..b9caaf7db82dff3caaf948aa0f918dee6e9bc04a 100644 (file)
@@ -134,3 +134,9 @@ image_load (FILE *f)
                                                 w, h, w * 3,
                                                 free_buffer, NULL);
 }
+
+GdkImage *
+image_load_by_data (void *data, size_t count)
+{
+       return NULL;
+}
index 81ba0f58b79a6330e611e64f2539918e23acfb81..90b481fda90a5c8503536ffca307f1f90a9cef5e 100644 (file)
@@ -56,11 +56,12 @@ struct _GdkPixbufLoader
 typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
 struct _GdkPixbufLoaderClass {
        GtkObjectClass parent_class;
-#if 0
-       /* If it get's implemented */
+
        void (* area_updated) (GdkPixbufLoader *loader,
                               int x, int y, int width, int height);
-#endif
+       void (* area_prepared) (GdkPixbufLoader *loader,
+                               GdkPixbuf *image,
+                               int x, int y, int width, int height);
 };
 
 \f